import { createRouter, createWebHistory } from "vue-router"
const routes = [
    {
        path: '/',
        redirect: '/goods',
        children: [
            {
                path: 'goods',
                name: 'goods',
                component: () => import('../PageViews/nav/Goods.vue')
            },
            {
                path: 'seller',
                name: 'seller',
                component: () => import('../PageViews/nav/Seller.vue')
            },
            {
                path: 'rating',
                name: 'rating',
                component: () => import('../PageViews/nav/Rating.vue')
            }
        ]
    }];
const router = createRouter({
    history: createWebHistory(),
    routes,
});
export default router;